package wallet

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ UserInviteOrderFlowModel = (*customUserInviteOrderFlowModel)(nil)

type (
	// UserInviteOrderFlowModel is an interface to be customized, add more methods here,
	// and implement the added methods in customUserInviteOrderFlowModel.
	UserInviteOrderFlowModel interface {
		userInviteOrderFlowModel
	}

	customUserInviteOrderFlowModel struct {
		*defaultUserInviteOrderFlowModel
	}
)

// NewUserInviteOrderFlowModel returns a model for the database table.
func NewUserInviteOrderFlowModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) UserInviteOrderFlowModel {
	return &customUserInviteOrderFlowModel{
		defaultUserInviteOrderFlowModel: newUserInviteOrderFlowModel(conn, c, opts...),
	}
}
